package com.shambles.manage2.tkmapper.entity;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "sys_user_role")
public class SysUserRole implements Serializable {
    @Column(name = "role_guid")
    private String roleGuid;

    /**
     * 用户guid
     */
    @Column(name = "user_guid")
    private String userGuid;

    private static final long serialVersionUID = 1L;

    /**
     * @return role_guid
     */
    public String getRoleGuid() {
        return roleGuid;
    }

    /**
     * @param roleGuid
     */
    public void setRoleGuid(String roleGuid) {
        this.roleGuid = roleGuid == null ? null : roleGuid.trim();
    }

    /**
     * 获取用户guid
     *
     * @return user_guid - 用户guid
     */
    public String getUserGuid() {
        return userGuid;
    }

    /**
     * 设置用户guid
     *
     * @param userGuid 用户guid
     */
    public void setUserGuid(String userGuid) {
        this.userGuid = userGuid == null ? null : userGuid.trim();
    }
}